package com.example.sqltest.repository;

import com.example.sqltest.pojo.AgentUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: dangwen
 * @createDate: 2020/12/3
 */
@Repository
public interface AgentUserRepository extends JpaRepository<AgentUser,Integer>, JpaSpecificationExecutor<AgentUser> {
    List<AgentUser> findByNickName(String nickName);
}
